package com.liveneo.adapter.outinterface.util;

/**
  * @Description: 常量
  * @author liveneo-shuqw
  * @date 2016年11月10日 下午1:50:42
  * @Copyright: Copyright (c) 2016 
  * @Company: 北京朗泰
  * @version 3.3
 */
public class Constants {
	
	public static final String MODULE_TYPE_MOBILE = "mobile";
	public static final String MODULE_TYPE_CXF = "cxf";
	public static final String MODULE_TYPE_OTHER = "other";
	
	//手机请求的参数名
	public static final String MOBILE_REQUEST_PARAM_NAME = "data";
	
	//数据库记录日志类型
	public static final String LOG_TYPE_TO_CLAIM = "0";	//查勘调用理赔
	public static final String LOG_TYPE_CLAIM = "1";	//理赔调用适配器
	public static final String LOG_TYPE_MOBILE = "2";	//手机调用适配器
	
	//日志的属性的key
	public static final String LOG_KEY_CASE_CODE = "userCode";
	public static final String LOG_KEY_CASE_NO = "caseNo";
	public static final String LOG_KEY_CASE_UUID = "caseUuid";
	public static final String LOG_KEY_LOSS_UUID = "lossUuid";
	public static final String LOG_KEY_LOG_TYPE = "logType";
	
	
	/*-定损单状态start-*/
	public static final int LOSS_TBC = 1;// 定损完成待确认
	public static final int LOSS_CLIENTREFUSE = 2;// 客户拒绝
	public static final int LOSS_CLIENTAGREE = 3;// 客户同意
	public static final int LOSS_CONCERTAGREE = 4;// 协调同意
	public static final int LOSS_FINALREFUSE = 5;// 最终拒绝
	/*-定损单状态end-*/
	
	public static final String PASSWORD="111111";//新增用户信息默认密码
	
	//8:人伤;9:收单;10:照片补传
	public static final String LOSS_ITEMTYPE8 = "8";
	public static final String LOSS_ITEMTYPE9 = "9";
	public static final String LOSS_ITEMTYPE10 = "10";
	//1-未处理（待审核）; 0-未上传;2审核完成(预审核完成);3单证审核齐全 ;4补传材料（重派未上传）;5任务取消(结案取消);6申请改派;7改派未上传
	public static final String LOSS_HANDLESTATUS0 = "0";
	public static final String LOSS_HANDLESTATUS1 = "1";
	public static final String LOSS_HANDLESTATUS2 = "2";
	public static final String LOSS_HANDLESTATUS3 = "3";
	public static final String LOSS_HANDLESTATUS4 = "4";
	public static final String LOSS_HANDLESTATUS5 = "5";
	public static final String LOSS_HANDLESTATUS6 = "6";
	public static final String LOSS_HANDLESTATUS7 = "7";
	public static final String LOSS_HANDLESTATUS8 = "8";
	
	/***
	 * 任务状态:
	 * 	0：待处理
	 *  1：连接成功 
	 *  2：取证完成 
	 *  3：申请改派 
	 *  4：改派完成 
	 *  5：取证前注销
	 *  6：取证后注销 
	 *  8：上传成功
	 */
	public static final String LOSS_STATUS_TAYPE1="1";
	public static final String LOSS_STATUS_TAYPE2="2";
	public static final String LOSS_STATUS_TAYPE3="3";
	public static final String LOSS_STATUS_TAYPE4="4";
	public static final String LOSS_STATUS_TAYPE5="5";
	public static final String LOSS_STATUS_TAYPE6="6";
	public static final String LOSS_STATUS_TAYPE8="8";
	
	 /*-案件状态start-*/
	public static final String CASE_NOCONNECT = "0";// 未连接
	public static final String CASE_CONNECTSUCCESS = "1";// 连接成功
	public static final String CASE_VIDEOFINISH = "2";// 视频完成
	public static final String CASE_APPLYSCHE = "3";// 申请改派
	public static final String CASE_SCHEFINISH = "4";// 改派完成
	public static final String CASE_BEFORE_CONNECTCANCEL = "5";// 连线前注销
	public static final String CASE_AFTER_CONNECTCANCEL = "6";// 连线后注销
	public static final String CASE_UPLOADFINISH = "8";// 上传完成
	
	/**个推消息类型start**/
	/**
	 * 消息类型： 	0-普通消息推送；
	 * 		  	1-报案推送；
	 * 			2-案件转人工推送；
	 * 			3-核损完成推送；
	 * 			4-转正常案件推送；
	 * 			5-查勘完成推送；
	 * 			6-单证补传推送；
	 * 			7-案件改派推送；
	 * 			8-案件撤销推送；
	 * 			9-申请改派回退；
	 * 			11-纸质单证完成推送
	 * 			12-创建收单任务推送
	 * 			14-单证任务下发
	 * 			15-单证重派
	 */
	public static final String MOBILE_NEW_TYPE1= "1";
	public static final String MOBILE_NEW_TYPE2= "2";
	public static final String MOBILE_NEW_TYPE3= "3";
	public static final String MOBILE_NEW_TYPE4= "4";
	public static final String MOBILE_NEW_TYPE5= "5";
	public static final String MOBILE_NEW_TYPE6= "6";
	public static final String MOBILE_NEW_TYPE7= "7";
	public static final String MOBILE_NEW_TYPE8= "8";
	public static final String MOBILE_NEW_TYPE9= "9";
	public static final String MOBILE_NEW_TYPE10= "10";
	public static final String MOBILE_NEW_TYPE11= "11";
	public static final String MOBILE_NEW_TYPE12= "12";
	
	public static final String MOBILE_NEW_TYPE13= "13";
	public static final String MOBILE_NEW_TYPE14= "14";
	public static final String MOBILE_NEW_TYPE15= "15";
	public static final String MOBILE_NEW_TYPE20= "20";
	public static final String MOBILE_NEW_TYPE21= "21";
	public static final String MOBILE_NEW_TYPE22= "22";
	/**个推消息类型end**/
}
